<template>
	<view class="referral">
		<!-- 导航栏 -->
		<nav-bar backUrl="/pages/collaboration/collaboration" :isTabbar="true"></nav-bar>
		<view class="content">
			<view class="title">老带新福利</view>
			<view class="benefits-list">
				<view class="benefit-item">
					<view class="benefit-number">1</view>
					<view class="benefit-content">
						<text class="benefit-title">老顾客带新顾客</text>
						<text class="benefit-desc">奖励原项目半次</text>
					</view>
				</view>
				<view class="benefit-item">
					<view class="benefit-number">2</view>
					<view class="benefit-content">
						<text class="benefit-title">老顾客带新顾客并成为新会员</text>
						<text class="benefit-desc">奖励原项目一次</text>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import NavBar from '@/components/nav-bar/nav-bar.vue'
	export default {
		components: {
			NavBar
		},
		data() {
			return {}
		},
		methods: {}
	}
</script>

<style lang="scss">
	.referral {
		min-height: 100vh;
		background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
		padding: 30rpx;

		.content {
			background: #FFFFFF;
			border-radius: 24rpx;
			padding: 40rpx;
			box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.06);

			.title {
				font-size: 48rpx;
				font-weight: 700;
				color: #2B87FF;
				margin-bottom: 40rpx;
				text-align: center;
			}

			.benefits-list {
				display: flex;
				flex-direction: column;
				gap: 30rpx;

				.benefit-item {
					display: flex;
					align-items: flex-start;
					padding: 30rpx;
					background: linear-gradient(135deg, #E8FFF3 0%, #C6FFE4 100%);
					border-radius: 16rpx;
					border: 1px solid rgba(198, 255, 228, 0.3);

					.benefit-number {
						width: 60rpx;
						height: 60rpx;
						background: #2B87FF;
						color: #FFFFFF;
						border-radius: 30rpx;
						display: flex;
						align-items: center;
						justify-content: center;
						font-size: 32rpx;
						font-weight: bold;
						margin-right: 20rpx;
						flex-shrink: 0;
					}

					.benefit-content {
						flex: 1;

						.benefit-title {
							font-size: 32rpx;
							color: #2B87FF;
							font-weight: 600;
							margin-bottom: 10rpx;
							display: block;
						}

						.benefit-desc {
							font-size: 28rpx;
							color: rgba(43, 135, 255, 0.8);
							display: block;
						}
					}
				}
			}
		}
	}
</style>